<extend name="common:base" />
<block name="content">
    <div id="header">
        <div class="header">
            <h1 class="tit">{$site_title}</h1>
            <!--<p class="goback">-->
                <!--<a class="return" href="{:U('Setting/invitation')}">返回</a>-->
            <!--</p>-->
            <!--<p class="more"><a class="share" href=""></a></p>-->
        </div>
    </div>
    <div class="banx-b">
        <div class="b-zong">
            <div class="b-1">
                <p class="tx">头像</p>
                <if condition="$agent['avatar'] neq ''">
                    <img src="{$agent['avatar']}" class="img2">
                    <else/>
                    <img src="__PUBLIC__/images/default.png" class="img2">
                </if>
            </div>
            <div class="b-2">
                <p class="tx">性别</p>
                <if condition="$agent['sex'] neq ''">
                    <input type="text" readonly class="ints" value="{$sex_p[$agent['sex']]}"/>
                    <else/>
                    <input type="text" readonly class="ints" value="未注册"/>
                </if>
            </div>
            <div class="b-2">
                <p class="tx">手机号</p>
                <input type="text" class="intsss" readonly value="{$agent['mobile']}"/>
            </div>
            <if condition="$agent['invitation_code'] neq '*'">
                <div class="b-2">
                    <p class="tx">注册码</p>
                    <input type="text" class="r_code" readonly value="{$agent['invitation_code']}"/>
                </div>
                <else/>
                <div class="b-2">
                    <p class="tx">总销售额</p>
                    <span class="fright form-txt">{$agent['all_achi']}</span>
                </div>
            </if>
            <div class="b-2 bbs">
                <p class="tx txt">微信二维码</p>
                <if condition="$agent['wx_ewm'] neq ''">
                    <div class="erms">
                        <a href="{:U('Agent/ewm_show',array('id'=>$agent['agent_id'] ,'t' =>'ewm'))}">
                            <img src="{:C('__STATIC__')}{$theme}/Static/img/ee.jpg">
                        </a>
                    </div>
                    <img src="{:C('__STATIC__')}{$theme}/Static/img/jt.png" class="img4s">
                    <else/><div class="erms">无</div>
                </if>
            </div>
            <div class="b-2 bbs">
                <p class="tx txt">微信收款码</p>
                <if condition="$agent['wx_skm'] neq ''">
                    <div class="erms">
                        <a href="{:U('Agent/ewm_show',array('id'=>$agent['agent_id'] ,'t' =>'skm'))}">
                            <img src="{:C('__STATIC__')}{$theme}/Static/img/ee.jpg">
                        </a>
                    </div>
                    <img src="{:C('__STATIC__')}{$theme}/Static/img/jt.png" class="img4s">
                    <else/><div class="erms">无</div>
                </if>
            </div>
        </div>
    </div>
</block>
<block name="CSS">
    <link rel="stylesheet" href="{:C('__STATIC__')}{$theme}/Static/{:C('css')}/dlxq.css" />
</block>